package com.gxz.redis.service;

import com.gxz.redis.domain.MoneyPackage;

import java.util.List;



/*****
 * @author guxz4
 * @Description: com.itheima.service.MoneyPackageService
 ****/
public interface MoneyPackageService {

    /***
     * 加载所有延时发放的红包
     * @return
     */
    List<MoneyPackage> loadDelayData();

    /***
     * 变更状态
     * @param id
     */
    int modifyHasload(Integer id,Integer type,Integer oldType);
}
